//
//  M4ContactInputView2.swift
//  M4
//
//  Created by YuChuang on 2025/1/21.
//

import UIKit

class M4ContactInputView2: UIView {

    @IBOutlet weak var M4ContactItemTitle: UILabel!
    
    @IBOutlet weak var M4ContactItemBGView: UIView!
    
    @IBOutlet weak var M4ContactItemNameTF: UITextField!
    
    @IBOutlet weak var M4ContactItemMobileTF: UITextField!
    
    
    override func awakeFromNib() {
        M4ContactItemBGView.layer.cornerRadius = 2
        M4ContactItemBGView.layer.borderColor = COLOR_CCCCCC.cgColor
        M4ContactItemBGView.layer.borderWidth = 0.5
        M4ContactItemBGView.layer.masksToBounds = true
        let attributes = [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 14), .foregroundColor: COLOR_999999]
        M4ContactItemNameTF.attributedPlaceholder = NSAttributedString(string: "Name", attributes: attributes)
        M4ContactItemMobileTF.keyboardType = .numberPad
    }

}
